package com.hopu.oa.service.impl.plan;


import com.hopu.oa.dao.plan.MyPlanDao;
import com.hopu.oa.entity.plan.AoaPlanList;
import com.hopu.oa.service.plan.MyPlanService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Secret
 * @create 2021-07-19 下午 01:18
 */
@Service
public class MyPlanServiceImpl implements MyPlanService {
    @Autowired
    private MyPlanDao myPlanMapper;

    @Override
    public List<AoaPlanList> queryMyPlan(int id, int index, int size, int choose, String startTime, String endTime, String userName) {
        return myPlanMapper.queryMyPlan(id, index, size, choose, startTime, endTime, userName);
    }

    @Override
    public String selectCommentById(int planId) {
        return myPlanMapper.selectCommentById(planId);
    }

    @Override
    public int updatePlanComment(int planId, String planComment) {
        return myPlanMapper.updatePlanComment(planId, planComment);
    }


}
